package com.abel.demo.dao;

import com.abel.demo.dao.BaseDao;
import com.abel.demo.model.SecRoleModel;
import com.abel.demo.model.SecRoleModelCriteria;
import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
* @author abel.lin
* @date_time 2018-07-17 17:16
* @description
*/
public interface SecRoleModelDao extends BaseDao<SecRoleModel, SecRoleModelCriteria>{

    int countByExample(SecRoleModelCriteria example);
    
    int deleteByExample(SecRoleModelCriteria example);
    
    int deleteByPrimaryKey(String id);
    
    int insert(SecRoleModel record);
    
    int insertSelective(SecRoleModel record);
    
    List<SecRoleModel> selectByExample(SecRoleModelCriteria example);

    SecRoleModel selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") SecRoleModel record, @Param("example") SecRoleModelCriteria example);

    int updateByExample(@Param("record") SecRoleModel record, @Param("example") SecRoleModelCriteria example);

    int updateByPrimaryKeySelective(SecRoleModel record);

    int updateByPrimaryKey(SecRoleModel record);
}